<!DOCTYPE html>
<html>
  <head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=yes">
    <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
    <meta name="description" content="Capture an area on the map">
    <title>Take a Snapshot of the Map</title>
    <link rel="stylesheet" type="text/css" href="https://js.api.here.com/v3/3.1/mapsjs-ui.css" />

    <!-- BELOW MUST BE INCLUDED IN HEAD  //////////////////////////////////////////////////////////-->
    <link rel="stylesheet" type="text/css" href="../template.css" />
    <link rel="stylesheet" type="text/css" href="demo.css" />
    <link rel="stylesheet" type="text/css" href="styles.css" />
    <script type="text/javascript" src='../test-credentials.js'></script>    
    <!-- //////////////////////////////////////////////////////////-->

    <script type="text/javascript" src="https://js.api.here.com/v3/3.1/mapsjs-core.js"></script>
    <script type="text/javascript" src="https://js.api.here.com/v3/3.1/mapsjs-service.js"></script>
    <script type="text/javascript" src="https://js.api.here.com/v3/3.1/mapsjs-ui.js"></script>
    <script type="text/javascript" src="https://js.api.here.com/v3/3.1/mapsjs-mapevents.js"></script>
  </head>
  <body id="capture-map-area">
    <div class="page-header">
        <h1>Example Template</h1>
        <p>Example does something</p>
    </div>
    <p><span>This example demonstrates how to take a snapshot of the map. It specifies area to be captured with top/left and bottom/right view port coordinates<br></span></p>
    <div id="map"></div>
    <div id="panel"></div>
    <!-- BELOW MUST BE INCLUDED AT FOOT OF BODY  //////////////////////////////////////////////////////////-->
    <script type="text/javascript" src='demo.js'></script>
    <!-- //////////////////////////////////////////////////////////-->
        
  </body>
</html>
